
<template>
	<view style="padding: 30rpx;">
		<button @click="onlog()">Console.log</button>
		<button @click="onDebug()">Console.log</button>
		<button @click="onInfo()">Console.log</button>
		<button @click="onWarn()">Console.log</button>
		<button @click="onError()">Console.log</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				myname:"zb"
			}
		},
		methods: {
			onlog(){
				console.log("onlog()-->myname:"+this.myname)
				console.log();
			},
			onDebug(){
				console.debug("onDebug")
			},
			onInfo(){
				console.info("onInfo")
			},
			onWarn(){
				console.warn("onWarn")
			},
			onError(){
				console.error("onError")
			},
		}
	}
</script>

<style>

</style>
